package com.shchekoldin.juliet.json.entities.person;

import com.shchekoldin.juliet.json.annotation.ToJson;
import com.shchekoldin.juliet.json.entities.ToJsonProfileType;

public class Baby extends BasePerson {

    @ToJson(converter = AgeConverter.class, profiles = { ToJsonProfileType.DEFAULT })
    private int age;

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

}
